package com.wust.supermarket.service;

import java.util.List;

import com.wust.supermarket.domain.Provider;

public interface ProviderService {
	  //查询所有供应商
    List<Provider> listAllProviders();

    //通过ID查询供应商
    Provider getProviderById(int providerId);

    //插入供应商
    int insertProvider(Provider provider);

    //修改供应商
    int updateProvider(Provider provider);

    //删除供应商
    int deleteProvider(int providerId);
  
  //查询所有已经下线的供应商
    List<Provider> listProviderOffline();
}
